package org.nmgyjt.springboot.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import org.nmgyjt.springboot.beans.dto.BusAuthUserAddDto;
import org.nmgyjt.springboot.beans.dto.UserAuthCodeParamDto;
import org.nmgyjt.springboot.beans.vo.CsBusinessUserListVo;
import org.nmgyjt.springboot.entity.admin.CsBusinessUserCode;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface ICsBusinessUserCodeService extends IService<CsBusinessUserCode> {

//
//    void addAuthUser(BusAuthUserAddDto bean);
//
//
//    List<CsBusinessUserListVo> getBuAuthCodeList(UserAuthCodeParamDto dto);
//
//
//    Integer syncUserAuthEdit(JSONObject bean, String s);
//
//    void syncDelUserAuth(JSONObject bean, String s);

    CsBusinessUserCode findByPhoneOrAuthCode(String authPhone, String authCode, String businessId);
}